package com.springboot.sakila.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @TableName city
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class City {
    private Integer cityId;

    private String city;

    private Integer countryId;

    private Date lastUpdate;

    private Country country;

    public City(Integer cityId, String city, Integer countryId, Date lastUpdate) {
        this.cityId = cityId;
        this.city = city;
        this.countryId = countryId;
        this.lastUpdate = lastUpdate;
    }

}